package com.fingard.dsp.bank.reqrespobj.batrecrefund;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RetAtsBase;
import com.fingard.xml.XmlTextWriter;

public class RetAtsBatRecRefund extends RetAtsBase {
	public String respCode;
	public String respInfo;
	public String reqSeqID;
	public String transState;
	public String payInfoCode;

	public RetAtsBatRecRefund(ReqRespHeader p_header) {
		retHeader = p_header;
		retXmlWriter = new XmlTextWriter();
	}

	public void writeRetToATS() {
		writeStart();
		retXmlWriter.writeStartElement("DetailRecord");
		retXmlWriter.writeElementString("RespCode", respCode);
		retXmlWriter.writeElementString("RespInfo", respInfo);
		retXmlWriter.writeElementString("ReqSeqID", reqSeqID);
		retXmlWriter.writeElementString("TransState", transState);
		retXmlWriter.writeElementString("PayInfoCode", payInfoCode);
		retXmlWriter.writeEndElement();
		writeEnd();
	}
}
